package com.dc.entity.ro;

import com.dc.entity.MaintenanceRelation;
import com.dc.ro.PageRO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 维保表
 *
 * @date 2021-12-21 11:38:02
 */
@Data
@ApiModel
public class MaintenanceWorkOrderRO extends PageRO {
    @ApiModelProperty(value = "")
    private Long id;
    @ApiModelProperty(value = "维保人员id")
    private Long userId;
    @ApiModelProperty(value = "维保人员姓名")
    private String userName;
    @ApiModelProperty(value = "联系方式")
    private String mobile;
    @ApiModelProperty(value = "区域id")
    private Long regionId;
    @ApiModelProperty(value = "区域位置")
    private String regionName;
    @ApiModelProperty(value = "本次维保时间")
    private String recTime;
    @ApiModelProperty(value = "值班人员id")
    private Long dutyUserId;
    @ApiModelProperty(value = "值班人员姓名")
    private String dutyUserName;
    @ApiModelProperty(value = "维保结果 0：已完成 1：未完成")
    private Integer repairStatus;
    @ApiModelProperty(value = "设备状态 0:正常 1:故障")
    private Integer deviceStatus;
    @ApiModelProperty(value = "下次维保时间")
    private String nextTime;
    @ApiModelProperty(value = "维保信息记录")
    private String repairRecord;
    @ApiModelProperty(value = "工单编号")
    private String number;
    @ApiModelProperty(value = "工单状态 0：待处理 1：处理中 2：已完成")
    private Integer status;
    @ApiModelProperty(value = "维保项目明细")
    private List<MaintenanceRelation> maintenanceRelation;

    @ApiModelProperty(value = "导出功能勾选数据传ids")
    private List<Long> ids;
    @ApiModelProperty(value = "升降序字段名", example = " create_time")
    private String orderByColumn;
    @ApiModelProperty(value = "desc or asc ", example = "desc")
    private String isAsc;
    @ApiModelProperty(value = "时间查询字段")
    private String createTime;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;
    @ApiModelProperty(value = "设备型号")
    private String deviceModel;
    @ApiModelProperty(value = "设备编码")
    private String serialNumber;
    @ApiModelProperty(value = "开始时间")
    private String startTime;
    @ApiModelProperty(value = "结束时间")
    private String endTime;
    @ApiModelProperty(value = "描述")
    private String description;
}
